#ifndef PAGE_MAIN_H
#define PAGE_MAIN_H

#include <QtGui/QMainWindow>
#include "ui_page_main.h"
#include "remote_tcp_client.h"
#include "modbus_tcp_client.h"
#include "modbus_tcp_server.h"

class CommTool : public QMainWindow
{
	Q_OBJECT

public:
	CommTool(QWidget *parent = 0, Qt::WFlags flags = 0);
	~CommTool();

private:
	Ui::CommToolClass ui;

	RemoteTcpClient *remotetcp_client_;
	ModbusTcpClient *modbustcp_client_;
	ModbusTcpServer *modbustcp_server_;
	el::CommServer *manage;

};

#endif // PAGE_MAIN_H
